package com.ruoyi.disasterassessment.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 数据测点告警对象 iot_warning
 * 
 * @author hcc
 * @date 2023-12-21
 */
public class IotWarning extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 测点编号 */
    @Excel(name = "测点编号")
    private String pointId;

    /** 测点名称 */
    @Excel(name = "测点名称")
    private String pointName;

    /** 系统编号 */
    @Excel(name = "系统编号")
    private String systemCode;

    /** 安装位置 */
    @Excel(name = "安装位置")
    private String address;

    /** 告警值 */
    @Excel(name = "告警值")
    private String warningValue;

    /** 单位 */
    @Excel(name = "单位")
    private String company;

    /** 告警上限 */
    @Excel(name = "告警上限")
    private String warningUppLimit;

    /** 告警下限 */
    @Excel(name = "告警下限")
    private String warningLowerLimit;

    /** 告警状态[上限告警,下限告警] */
    @Excel(name = "告警状态[上限告警,下限告警]")
    private String warningStatus;

    /** 告警类型[zdpd:系统自动判断的告警/gj:采集的报警/clc:采集的超量程报警] */
    @Excel(name = "告警类型[zdpd:系统自动判断的告警/gj:采集的报警/clc:采集的超量程报警]")
    private String warningType;

    /** 告警级别 */
    @Excel(name = "告警级别")
    private String warningLevel;

    /** 处理状态[1:未处理/2:处理] */
    @Excel(name = "处理状态[1:未处理/2:处理]")
    private Long handleStatus;

    /** 处理详情 */
    @Excel(name = "处理详情")
    private String handleContent;

    /** 处理人 */
    @Excel(name = "处理人")
    private String handleBy;

    /** 处理时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "处理时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date handleTime;

    /** 处理类型[1:隐患消除/2:联动处置] */
    @Excel(name = "处理类型[1:隐患消除/2:联动处置]")
    private Long handleType;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPointId(String pointId) 
    {
        this.pointId = pointId;
    }

    public String getPointId() 
    {
        return pointId;
    }
    public void setPointName(String pointName) 
    {
        this.pointName = pointName;
    }

    public String getPointName() 
    {
        return pointName;
    }
    public void setSystemCode(String systemCode) 
    {
        this.systemCode = systemCode;
    }

    public String getSystemCode() 
    {
        return systemCode;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setWarningValue(String warningValue) 
    {
        this.warningValue = warningValue;
    }

    public String getWarningValue() 
    {
        return warningValue;
    }
    public void setCompany(String company) 
    {
        this.company = company;
    }

    public String getCompany() 
    {
        return company;
    }
    public void setWarningUppLimit(String warningUppLimit) 
    {
        this.warningUppLimit = warningUppLimit;
    }

    public String getWarningUppLimit() 
    {
        return warningUppLimit;
    }
    public void setWarningLowerLimit(String warningLowerLimit) 
    {
        this.warningLowerLimit = warningLowerLimit;
    }

    public String getWarningLowerLimit() 
    {
        return warningLowerLimit;
    }
    public void setWarningStatus(String warningStatus) 
    {
        this.warningStatus = warningStatus;
    }

    public String getWarningStatus() 
    {
        return warningStatus;
    }
    public void setWarningType(String warningType) 
    {
        this.warningType = warningType;
    }

    public String getWarningType() 
    {
        return warningType;
    }
    public void setWarningLevel(String warningLevel) 
    {
        this.warningLevel = warningLevel;
    }

    public String getWarningLevel() 
    {
        return warningLevel;
    }
    public void setHandleStatus(Long handleStatus) 
    {
        this.handleStatus = handleStatus;
    }

    public Long getHandleStatus() 
    {
        return handleStatus;
    }
    public void setHandleContent(String handleContent) 
    {
        this.handleContent = handleContent;
    }

    public String getHandleContent() 
    {
        return handleContent;
    }
    public void setHandleBy(String handleBy) 
    {
        this.handleBy = handleBy;
    }

    public String getHandleBy() 
    {
        return handleBy;
    }
    public void setHandleTime(Date handleTime) 
    {
        this.handleTime = handleTime;
    }

    public Date getHandleTime() 
    {
        return handleTime;
    }
    public void setHandleType(Long handleType) 
    {
        this.handleType = handleType;
    }

    public Long getHandleType() 
    {
        return handleType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("pointId", getPointId())
            .append("pointName", getPointName())
            .append("systemCode", getSystemCode())
            .append("address", getAddress())
            .append("warningValue", getWarningValue())
            .append("company", getCompany())
            .append("warningUppLimit", getWarningUppLimit())
            .append("warningLowerLimit", getWarningLowerLimit())
            .append("warningStatus", getWarningStatus())
            .append("warningType", getWarningType())
            .append("warningLevel", getWarningLevel())
            .append("handleStatus", getHandleStatus())
            .append("handleContent", getHandleContent())
            .append("handleBy", getHandleBy())
            .append("handleTime", getHandleTime())
            .append("handleType", getHandleType())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .toString();
    }
}
